<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>	
<%@ include file="/pub/front_headmeta.jsp" %> 
<script language="javascript">
<!--	
//点击显示对应的树
function clickItem(id){	
	var url="${ctx}/title!viewFrontTree.action?titleId="+id;
	var form = $('#tmpForm');
	form.attr('action', url);	
	form.submit();		
}
//登出
function doLoginOut(){
	parent.location.href="${ctx}/sys!logoutFront.action";
}
//-->
</script>
</head>
<body>
	<div class="top">
		<div class="top-back"><input name="退出" type="button" class="back-botton" value="退出" onclick="doLoginOut()"/></div>
		<div class="top-word">终端</div>
		<div class="top-bottom-right"></div>
	</div>

	<form id="tmpForm" method="post" style="display:none;" target="bottomFrame"></form>
	<div class="main_title">
		<ul class="fx">
			<c:forEach var="o" items="${data }" varStatus="s">				
				<li><a href="javascript:clickItem('${o.titleId}');">${o.titleName}</a></li>
				<c:if test="${s.index==0}"><script language="javascript">clickItem('${o.titleId}');</script></c:if>
			</c:forEach>
		</ul>	
	</div>	
</body>
</html>

